import request from '@/utils/request'


// 查询地区详细
export function detaildPageSetting(page='') {
  return request({
    url: '/basic/userPageSetting/getInfo',
    method: 'get',
    params:{page:page}
  })
}

// 新增地区
export function addPageSetting(data) {
  return request({
    url: '/basic/userPageSetting',
    method: 'post',
    data: data
  })
}

// 修改地区
export function updatePageSetting(data) {
  return request({
    url: '/basic/userPageSetting',
    method: 'put',
    data: data
  })
}

// 删除地区
export function delPageSetting(id) {
  return request({
    url: '/basic/userPageSetting/' + id,
    method: 'delete'
  })
}
